package com.kgcx.system.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_sys_base_info")
@ApiModel(value = "运营公司")
public class BaseInfo extends BaseDomain {

    /**
     * 公司标识
     */
    @ApiModelProperty(value = "公司标识", required = true, example = "123")
    private String companyId;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称", required = true, example = "空港出行")
    private String companyName;

    /**
     * 统一社会信用代码
     */
    @ApiModelProperty(value = "统一社会信用代码", required = true, example = "123456789")
    private String identifier;

    /**
     * 注册地行政区域代码
     */
    @ApiModelProperty(value = "注册地行政区域代码", required = true, example = "4301")
    private Integer address;

    /**
     * 经营范围，按照网络预约出租汽车经营许可证内容填写
     */
    @ApiModelProperty(value = "经营范围，按照网络预约出租汽车经营许可证内容填写", required = true, example = "网约车")
    private String businessScope;

    /**
     * 通信地址全称
     */
    @ApiModelProperty(value = "通信地址全称", required = true, example = "长沙市岳麓区中电软件园")
    private String contactAddress;

    /**
     * 经营业户经济类型
     */
    @ApiModelProperty(value = "经营业户经济类型", required = true, example = "民企")
    private String economicType;

    /**
     * 注册资本
     */
    @ApiModelProperty(value = "注册资本", required = true, example = "100")
    private String regCapital;

    /**
     * 法人姓名
     */
    @ApiModelProperty(value = "法人姓名", required = true, example = "老板")
    private String legalName;

    /**
     * 法人身份证号
     */
    @ApiModelProperty(value = "法人身份证号", required = true, example = "438717197708011314")
    private String legalId;

    /**
     * 法人电话
     */
    @ApiModelProperty(value = "法人电话", required = true, example = "13444565654")
    private String legalPhone;

    /**
     * 法人身份证照片id
     */
    @ApiModelProperty(value = "法人身份证照片id", required = true, example = "649c38917ae84d5a9ab0ec97a4649328")
    private String legalPhoto;

    /**
     * 状态，0=有效，1=失效
     */
    @ApiModelProperty(value = "状态，0=有效，1=失效", required = true, example = "0")
    private Integer state;

}